<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./mark.js">

    </script>
    <link rel="stylesheet" href="index.css">
    <style>

    </style>
</head>
<body>
<div>

    <div class="header">
        <h1>MARK表</h1>
    </div>
    <div class="topnav">
        <a href="course.html">COURSE表</a>
        <a href="user.html">USER表</a>
    </div>
    <div  id="part2" class="column">
        <form>
            <div style="margin-bottom:10px">
                <label for="iptsID">sID</label>
                <input id="iptsID" type="text" placeholder="输入studentID" name="sID" class="in">
            </div>
            <div style="margin-bottom:10px">
                <label for="iptcID">cID</label>
                <input id="iptcID" type="text" placeholder="输入courseID" name="cID" class="in">
            </div>
            <div style="margin-bottom:10px">
                <label for="iptTime">时间</label>
                <input id="iptTime" type="text" placeholder="输入时间" name="Time" class="in">
            </div>
            <div style="margin-bottom:10px">
                <label for="iptScore">成绩</label>
                <input id="iptScore" type="text" placeholder="输入成绩" name="score" class="in">
            </div>
            <div id="but" style="margin-bottom:10px" >
                <input type="button" value="添加" onclick="add1()" class="btn">
                <input type="button" value="刷新" onclick="refresh1()" class="btn">
                <input type="button" value="查询" onclick="getById1()" class="btn">
                <input type="button" value="确认修改" onclick="onUpdate1()" class="btn">
            </div>
        </form>
        <table>
            <thead>
            <tr>
                <th>学生id</th>
                <th>课程id</th>
                <th>时间</th>
                <th>成绩</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody id="marks">
            </tbody>
        </table>

    </div>
</div>
</body>
</html>